package myprojectcompany

class Employee {
	
	String name
	String surname
	String email
	String country
	String adress
	Date birthDate

	static belongsTo = Project
	
    static constraints = {
		name(nullable:true, maxSize:50)
	    surname(nullable:true, maxSize:70)
		email(nullable:true, email:true)
		country(nullable:true, maxSize:100)
		adress(nullable:true, maxSize:200)
		birthDate(nullable:true)
    }
}
